package com.lanou.tk.tourism.entity;

import java.util.List;
import java.io.Serializable;

/**
 * Created by dllo on 15/10/28.
 */
public class World {


        /**
         * status : 1
         * info :
         * times : 0
         * data : [{"id":10,"cnname":"亚洲","enname":"Asia","hot_country":[{"id":11,"cnname":"中国","enname":"China","photo":"http://site.qyer.com/uploadfile/2014/0417/20140417012348768.jpg","count":40,"label":"城市","flag":1},{"id":215,"cnname":"泰国","enname":"Thailand","photo":"http://site.qyer.com/uploadfile/2014/0411/20140411062241479.jpg","count":103,"label":"城市","flag":1},{"id":14,"cnn
         * ra_referer :
         */

        private int status;
        private String info;
        private int times;
        private String ra_referer;
        private List<DataEntity> data;

        public void setStatus(int status) {
            this.status = status;
        }

        public void setInfo(String info) {
            this.info = info;
        }

        public void setTimes(int times) {
            this.times = times;
        }

        public void setRa_referer(String ra_referer) {
            this.ra_referer = ra_referer;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public int getStatus() {
            return status;
        }

        public String getInfo() {
            return info;
        }

        public int getTimes() {
            return times;
        }

        public String getRa_referer() {
            return ra_referer;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public static class DataEntity {
            /**
             * id : 10
             * cnname : 亚洲
             * enname : Asia
             * hot_country : [{"id":11,"cnname":"中国","enname":"China","photo":"http://site.qyer.com/uploadfile/2014/0417/20140417012348768.jpg","count":40,"label":"城市","flag":1},{"id":215,"cnname":"泰国","enname":"Thailand","photo":"http://site.qyer.com/uploadfile/2014/0411/20140411062241479.jpg","count":103,"label":"城市","flag":1},{"id":14,"cnname":"日本","enname":"Japan","photo":"http://site.qyer.com/uploadfile/2014/0411/20140411060609941.jpg","count

             */

            private int id;
            private String cnname;
            private String enname;
            private List<HotCountryEntity> hot_country;
            private List<CountryEntity> country;

            public void setId(int id) {
                this.id = id;
            }

            public void setCnname(String cnname) {
                this.cnname = cnname;
            }

            public void setEnname(String enname) {
                this.enname = enname;
            }

            public void setHot_country(List<HotCountryEntity> hot_country) {
                this.hot_country = hot_country;
            }

            public void setCountry(List<CountryEntity> country) {
                this.country = country;
            }

            public int getId() {
                return id;
            }

            public String getCnname() {
                return cnname;
            }

            public String getEnname() {
                return enname;
            }

            public List<HotCountryEntity> getHot_country() {
                return hot_country;
            }

            public List<CountryEntity> getCountry() {
                return country;
            }

            public static class HotCountryEntity implements Serializable{
                /**
                 * id : 11
                 * cnname : 中国
                 * enname : China
                 * photo : http://site.qyer.com/uploadfile/2014/0417/20140417012348768.jpg
                 * count : 40
                 * label : 城市
                 * flag : 1
                 */

                private int id;
                private String cnname;
                private String enname;
                private String photo;
                private int count;
                private String label;
                private int flag;

                public void setId(int id) {
                    this.id = id;
                }

                public void setCnname(String cnname) {
                    this.cnname = cnname;
                }

                public void setEnname(String enname) {
                    this.enname = enname;
                }

                public void setPhoto(String photo) {
                    this.photo = photo;
                }

                public void setCount(int count) {
                    this.count = count;
                }

                public void setLabel(String label) {
                    this.label = label;
                }

                public void setFlag(int flag) {
                    this.flag = flag;
                }

                public int getId() {
                    return id;
                }

                public String getCnname() {
                    return cnname;
                }

                public String getEnname() {
                    return enname;
                }

                public String getPhoto() {
                    return photo;
                }

                public int getCount() {
                    return count;
                }

                public String getLabel() {
                    return label;
                }

                public int getFlag() {
                    return flag;
                }
            }

            public static class CountryEntity {
                /**
                 * id : 401
                 * cnname : 阿富汗
                 * enname : Afghanistan
                 * photo : http://pic.qyer.com/album/user/331/55/QkpURx8AaA/index/420x630
                 * count : 10
                 * label : 城市
                 * flag : 1
                 */

                private int id;
                private String cnname;
                private String enname;
                private String photo;
                private int count;
                private String label;
                private int flag;

                public void setId(int id) {
                    this.id = id;
                }

                public void setCnname(String cnname) {
                    this.cnname = cnname;
                }

                public void setEnname(String enname) {
                    this.enname = enname;
                }

                public void setPhoto(String photo) {
                    this.photo = photo;
                }

                public void setCount(int count) {
                    this.count = count;
                }

                public void setLabel(String label) {
                    this.label = label;
                }

                public void setFlag(int flag) {
                    this.flag = flag;
                }

                public int getId() {
                    return id;
                }

                public String getCnname() {
                    return cnname;
                }

                public String getEnname() {
                    return enname;
                }

                public String getPhoto() {
                    return photo;
                }

                public int getCount() {
                    return count;
                }

                public String getLabel() {
                    return label;
                }

                public int getFlag() {
                    return flag;
                }
            }
        }
    }
